home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue66 / XMLXSLT / MSXML / Unit1.dfm < prev    next >
Encoding:
Text File  |  2000-12-13  |  8.2 KB  |  304 lines

  1. object Form1: TForm1
  2.   Left = 202
  3.   Top = 147
  4.   BorderIcons = [biSystemMenu, biMinimize]
  5.   BorderStyle = bsSingle
  6.   Caption = 'MS XML'
  7.   ClientHeight = 543
  8.   ClientWidth = 588
  9.   Color = clBtnFace
  10.   Font.Charset = DEFAULT_CHARSET
  11.   Font.Color = clWindowText
  12.   Font.Height = -11
  13.   Font.Name = 'MS Sans Serif'
  14.   Font.Style = []
  15.   OldCreateOrder = False
  16.   OnCreate = FormCreate
  17.   PixelsPerInch = 96
  18.   TextHeight = 13
  19.   object PageControl1: TPageControl
  20.     Left = 0
  21.     Top = 8
  22.     Width = 585
  23.     Height = 529
  24.     ActivePage = TabSheet1
  25.     Font.Charset = DEFAULT_CHARSET
  26.     Font.Color = clWindowText
  27.     Font.Height = -11
  28.     Font.Name = 'MS Sans Serif'
  29.     Font.Style = []
  30.     ParentFont = False
  31.     TabOrder = 0
  32.     object TabSheet1: TTabSheet
  33.       Caption = 'Converting'
  34.       object Label1: TLabel
  35.         Left = 8
  36.         Top = 24
  37.         Width = 205
  38.         Height = 13
  39.         Caption = 'DBDEMOS->Employee converted into XML'
  40.         Font.Charset = DEFAULT_CHARSET
  41.         Font.Color = clWindowText
  42.         Font.Height = -11
  43.         Font.Name = 'MS Sans Serif'
  44.         Font.Style = []
  45.         ParentFont = False
  46.       end
  47.       object btnConvert: TButton
  48.         Left = 459
  49.         Top = 12
  50.         Width = 109
  51.         Height = 25
  52.         Caption = 'Convert to XML'
  53.         Font.Charset = DEFAULT_CHARSET
  54.         Font.Color = clWindowText
  55.         Font.Height = -11
  56.         Font.Name = 'MS Sans Serif'
  57.         Font.Style = []
  58.         ParentFont = False
  59.         TabOrder = 0
  60.         OnClick = btnConvertClick
  61.       end
  62.       object mXML: TMemo
  63.         Left = 8
  64.         Top = 40
  65.         Width = 561
  66.         Height = 441
  67.         Font.Charset = DEFAULT_CHARSET
  68.         Font.Color = clWindowText
  69.         Font.Height = -13
  70.         Font.Name = 'MS Sans Serif'
  71.         Font.Style = []
  72.         ParentFont = False
  73.         ScrollBars = ssVertical
  74.         TabOrder = 1
  75.       end
  76.     end
  77.     object TabSheet3: TTabSheet
  78.       Caption = 'Web Browser'
  79.       ImageIndex = 2
  80.       object Label3: TLabel
  81.         Left = 8
  82.         Top = 8
  83.         Width = 168
  84.         Height = 13
  85.         Caption = 'Converted XML in a TWebBrowser:'
  86.         Font.Charset = DEFAULT_CHARSET
  87.         Font.Color = clWindowText
  88.         Font.Height = -11
  89.         Font.Name = 'MS Sans Serif'
  90.         Font.Style = []
  91.         ParentFont = False
  92.       end
  93.       object wbXML: TWebBrowser
  94.         Left = 8
  95.         Top = 32
  96.         Width = 561
  97.         Height = 465
  98.         TabOrder = 0
  99.         ControlData = {
  100.           4C000000FB3900000F3000000000000000000000000000000000000000000000
  101.           000000004C000000000000000000000001000000E0D057007335CF11AE690800
  102.           2B2E126208000000000000004C0000000114020000000000C000000000000046
  103.           8000000000000000000000000000000000000000000000000000000000000000
  104.           00000000000000000100000000000000000000000000000000000000}
  105.       end
  106.     end
  107.     object TabSheet5: TTabSheet
  108.       Caption = 'Patterns'
  109.       ImageIndex = 4
  110.       object lblCount: TLabel
  111.         Left = 480
  112.         Top = 216
  113.         Width = 75
  114.         Height = 13
  115.         Caption = '0 items returned'
  116.         Font.Charset = DEFAULT_CHARSET
  117.         Font.Color = clWindowText
  118.         Font.Height = -11
  119.         Font.Name = 'MS Sans Serif'
  120.         Font.Style = []
  121.         ParentFont = False
  122.       end
  123.       object Label5: TLabel
  124.         Left = 8
  125.         Top = 8
  126.         Width = 37
  127.         Height = 13
  128.         Caption = 'Pattern:'
  129.         Font.Charset = DEFAULT_CHARSET
  130.         Font.Color = clWindowText
  131.         Font.Height = -11
  132.         Font.Name = 'MS Sans Serif'
  133.         Font.Style = []
  134.         ParentFont = False
  135.       end
  136.       object Label6: TLabel
  137.         Left = 8
  138.         Top = 224
  139.         Width = 38
  140.         Height = 13
  141.         Caption = 'Results:'
  142.         Font.Charset = DEFAULT_CHARSET
  143.         Font.Color = clWindowText
  144.         Font.Height = -11
  145.         Font.Name = 'MS Sans Serif'
  146.         Font.Style = []
  147.         ParentFont = False
  148.       end
  149.       object edtPattern: TEdit
  150.         Left = 8
  151.         Top = 32
  152.         Width = 553
  153.         Height = 21
  154.         Font.Charset = DEFAULT_CHARSET
  155.         Font.Color = clWindowText
  156.         Font.Height = -11
  157.         Font.Name = 'MS Sans Serif'
  158.         Font.Style = []
  159.         ParentFont = False
  160.         TabOrder = 0
  161.         Text = 'employees/employee/*'
  162.       end
  163.       object btnApply: TButton
  164.         Left = 480
  165.         Top = 0
  166.         Width = 75
  167.         Height = 25
  168.         Caption = 'Apply'
  169.         Font.Charset = DEFAULT_CHARSET
  170.         Font.Color = clWindowText
  171.         Font.Height = -11
  172.         Font.Name = 'MS Sans Serif'
  173.         Font.Style = []
  174.         ParentFont = False
  175.         TabOrder = 1
  176.         OnClick = btnApplyClick
  177.       end
  178.       object rgPattern: TRadioGroup
  179.         Left = 8
  180.         Top = 56
  181.         Width = 553
  182.         Height = 153
  183.         Font.Charset = DEFAULT_CHARSET
  184.         Font.Color = clWindowText
  185.         Font.Height = -11
  186.         Font.Name = 'MS Sans Serif'
  187.         Font.Style = []
  188.         Items.Strings = (
  189.           '/'
  190.           './/employee'
  191.           'employees'
  192.           'employees/employee[0]'
  193.           'employees/employee[end()]'
  194.           'employees/employee[emp_salary > 30000 $and$ emp_salary < 35000]'
  195.           
  196.             'employees/employee[emp_salary > 30000 $and$ emp_salary < 35000 $' +
  197.             'and$ emp_salary[@currency="UKP"]]'
  198.           'employees/employee[emp_salary > 50000]/emp_lastname')
  199.         ParentFont = False
  200.         TabOrder = 2
  201.         OnClick = rgPatternClick
  202.       end
  203.       object mResults: TMemo
  204.         Left = 8
  205.         Top = 248
  206.         Width = 553
  207.         Height = 233
  208.         Font.Charset = DEFAULT_CHARSET
  209.         Font.Color = clWindowText
  210.         Font.Height = -11
  211.         Font.Name = 'MS Sans Serif'
  212.         Font.Style = []
  213.         ParentFont = False
  214.         ScrollBars = ssVertical
  215.         TabOrder = 3
  216.       end
  217.     end
  218.     object TabSheet2: TTabSheet
  219.       Caption = 'Transform'
  220.       ImageIndex = 3
  221.       object Transform: TButton
  222.         Left = 8
  223.         Top = 8
  224.         Width = 75
  225.         Height = 25
  226.         Caption = 'Transform'
  227.         TabOrder = 0
  228.         OnClick = TransformClick
  229.       end
  230.       object memoTransform: TMemo
  231.         Left = 8
  232.         Top = 296
  233.         Width = 553
  234.         Height = 185
  235.         Lines.Strings = (
  236.           '')
  237.         ScrollBars = ssVertical
  238.         TabOrder = 1
  239.       end
  240.       object Panel1: TPanel
  241.         Left = 8
  242.         Top = 40
  243.         Width = 553
  244.         Height = 249
  245.         Caption = 'Panel1'
  246.         TabOrder = 2
  247.         object wbMSXML: TWebBrowser
  248.           Left = 1
  249.           Top = 1
  250.           Width = 551
  251.           Height = 247
  252.           Align = alClient
  253.           TabOrder = 0
  254.           ControlData = {
  255.             4C000000FB3900000F3000000000000000000000000000000000000000000000
  256.             000000004C000000000000000000000001000000E0D057007335CF11AE690800
  257.             2B2E126208000000000000004C0000000114020000000000C000000000000046
  258.             8000000000000000000000000000000000000000000000000000000000000000
  259.             00000000000000000100000000000000000000000000000000000000}
  260.         end
  261.       end
  262.     end
  263.   end
  264.   object dsEmployee: TDataSource
  265.     DataSet = tblEmployee
  266.     Left = 256
  267.     Top = 8
  268.   end
  269.   object tblEmployee: TTable
  270.     DatabaseName = 'DBDEMOS'
  271.     TableName = 'employee.db'
  272.     Left = 312
  273.     Top = 8
  274.     object tblEmployeeEmpNo: TIntegerField
  275.       CustomConstraint = 'Value > 0'
  276.       ConstraintErrorMessage = 'EmpNo cannot be 0 or negative'
  277.       FieldName = 'EmpNo'
  278.       DisplayFormat = '0'
  279.       MaxValue = 9999
  280.       MinValue = 1
  281.     end
  282.     object tblEmployeeLastName: TStringField
  283.       FieldName = 'LastName'
  284.     end
  285.     object tblEmployeeFirstName: TStringField
  286.       FieldName = 'FirstName'
  287.       Size = 15
  288.     end
  289.     object tblEmployeePhoneExt: TStringField
  290.       FieldName = 'PhoneExt'
  291.       Size = 4
  292.     end
  293.     object tblEmployeeHireDate: TDateTimeField
  294.       FieldName = 'HireDate'
  295.     end
  296.     object tblEmployeeSalary: TFloatField
  297.       CustomConstraint = 'X > 4499'
  298.       ConstraintErrorMessage = 'Minimum Salary is $4,500.00'
  299.       FieldName = 'Salary'
  300.       currency = True
  301.     end
  302.   end
  303. end
  304.